package com.wh.service.instorehouse;

import com.wh.pojo.Product;
import com.wh.pojo.Purchase;
import com.wh.pojo.Storehouse;
import com.wh.pojo.Supplier;
import com.wh.vo.PageResult;

import java.util.List;

public interface PurchaseService {
    PageResult getPurchaseList(PageResult pageResult);

    void addPurchase(Purchase purchase);

    List<Product> getProductList(String name);

    List<Supplier> getSupplier();

    List<Storehouse> getStorehouse();

    void deletePurchase(String purchaseId);

    void updataPurchase(Purchase purchase);
}
